<?php
/**
 * @ClassName: DictData
 * @Description: 字典数据
 * @author: gydtrade
 * @Date: 2024-09-08 21:45
 * @Version: V1.0.0
 */

namespace app\common\model;

use think\Model;

class DictData extends Model
{
    protected $name = 'dict_data';

    protected $autoWriteTimestamp = 'dateTime';

    public function dict()
    {
        return $this->belongsTo('dict_type', 'dict_type', 'id');
    }

}